<%@page contentType="text/html; charset=utf-8" %>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/public.js"></script>
<script type="text/javascript" src="${ctx}/scripts/common/prototype.js"></script>
<script type="text/javascript" src="${ctx}/scripts/common.js"></script>
<link href="${ctx}/styles/aux_window.css" rel="stylesheet" type="text/css" />

<%@ include file="/commons/tabs.jsp" %>
<script type="text/javascript">
	var currentTaskId = ""; //任务ID
	var currentdispatchFormId=""; //派工单ID
	function setCurrentTaskId(id){//设置任务ID
		currentTaskId = id;
	}
	function setCurrentdispatchFormId(id){//设置派工单ID
		currentdispatchFormId = id;
	};
    /**
	 *  打开任务详细
	 */
	function openTaskDetail(){
	  if(currentTaskId == ""){
		   	Alert('请选择一条记录!');
		   	return false;
	  }
	  var url = "${ctx}/customerService_deptCooperationAction.do?method=navigateTaskDetail&customerTaskId="+currentTaskId;
	  top.windowOpen(url, "openTaskDetail", "任务详细信息", 450, 850,true,"openTaskDetail");
	}
	function dispatchFormDetail(){//派工单详细
		var url = "${ctx}/customerService_dispatchFormAction.do?method=navigateDispatchFormDetail&dispatchFormId="+currentdispatchFormId;
		top.windowOpen(url, "dispatchFormDetail", "派工单详细信息", 550, 850,true,"dispatchFormDetail");
	}
</script>
</head>

<body onload="">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" class="window_head_outBg">
    	<table border="0" cellpadding="0" cellspacing="0">
	      <tr>
	        <td>
	        	<span class="window_head_intext">
	        		<img src="${ctx}/images/ico_Advance.gif" align="absmiddle" /> 详细资料
	        	</span>
	        </td>
	      </tr>
    	</table>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="aux_header_line_1"></td>
  </tr>
  <tr>
    <td colspan="2" class="aux_header_line_2"></td>
  </tr>
  <tr>
  <td>
	<pms:tabPanel panelId="signReading"
				  hasTop="false"
				  iframeId="signReadingFrame"
				  defaultHeight="280px"
				  barWidthLeft="95%">

		<pms:tab tabId="custservEventDetail"
				 baseUrl="${ctx}/customerService_custServEventAction.do?method=initCustservEventDetail&custEventKeyword=${custEventKeyword}"
				 caption="事件登记信息"
				 defaultTab="true"
				 >
		</pms:tab>
		<pms:tab tabId="deptCooperation"
				 baseUrl="${ctx}/customerService_deptCooperationAction.do?method=queryTaskByPage&MenuFlat=false&customerEventId=${custEventKeyword}"
				 caption="任务列表"
				 >
		</pms:tab>
		<pms:tab tabId="dispatchForm"
				 baseUrl="${ctx}/customerService_dispatchFormAction.do?method=queryDispatchFormByPage&MenuFlat=false&customerEventId=${custEventKeyword}"
				 caption="派工单信息"
				 >
		</pms:tab>
		<pms:tab tabId="trackRecord"
				 baseUrl="${ctx}/customerService_trackRecordAction.do?method=initList&customerServiceEventID=${custEventKeyword}"
				 caption="事件跟踪"
				 >
		</pms:tab>
		<pms:tab tabId="returnVisit"
				 baseUrl="${ctx}/customerService_returnVisitAction.do?method=queryReturnVisitRecordByPag&showMenu=false&customerServiceEventID=${custEventKeyword}"
				 caption="回访信息"
				>
		</pms:tab>
		<pms:tab tabId="signReading"
				 baseUrl="${ctx}/customerService_signReadingAction.do?method=initSignReadingDetail&custEventid=${custEventKeyword}"
				 caption="领导阅签意见"
				 >
		</pms:tab>
		<pms:tab tabId="linkEvent"
				 baseUrl="${ctx}/customerService_custServEventAction.do?method=initLinkTheOtherListDetail&keyword=${custEventKeyword}"
				 caption="关联事件"
				 >
		</pms:tab>
	</pms:tabPanel>
</td>
  </tr>
  <tr>

    <td class="window_footer"><table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td class="buttonOffLeft" id="btn1_31"></td>
              <td class="buttonOffMiddle" id="btn1_32"
              			onClick="windowClose();"
              			onMouseOver="btn_change_over(3)"
              			onMouseOut="btn_change_out(3)"
              			onBlur="btn_change(3)">
              			<img src="${ctx}/images/ico_cancel.gif" alt="" width="14" height="14" border="0" align="absbottom" />关 闭</td>
              <td class="buttonOffRight" id="btn1_33"></td>
            </tr>
        </table></td>
      </tr>
    </table>
    <p>&nbsp;</p></td>
  </tr>
</table>
</body>
</html>